<template>
  <div>
    welcome
    <div ref="test">你真好</div>
  </div>
</template>

<script>
export default {
  mounted() {
    console.log(  this.$refs.test )
  }
}
</script>

<style lang="less">
  
</style>